<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>服务器错误 - Lightbulb Web Server</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .container {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        h1 {
            color: #333;
            text-align: center;
            margin-bottom: 30px;
        }
        .error-code {
            text-align: center;
            font-size: 72px;
            color: #ff6b6b;
            margin: 20px 0;
            font-weight: bold;
        }
        .message {
            text-align: center;
            font-size: 18px;
            color: #666;
            margin-bottom: 30px;
        }
        .warning {
            background: #fff3cd;
            padding: 15px;
            border-radius: 5px;
            border-left: 4px solid #ffc107;
            margin: 20px 0;
        }
        .footer {
            text-align: center;
            margin-top: 30px;
            color: #999;
            font-size: 14px;
        }
        .home-link {
            display: inline-block;
            background: #2196F3;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 20px;
        }
        .home-link:hover {
            background: #1976D2;
        }
        .refresh-link {
            display: inline-block;
            background: #28a745;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 10px;
            margin-left: 10px;
        }
        .refresh-link:hover {
            background: #218838;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>⚡ 服务器内部错误</h1>
        <div class="error-code">500</div>
        <div class="message">
            抱歉，服务器遇到了意外错误。
        </div>
        
        <div class="warning">
            <h3>🔧 正在处理中</h3>
            <p>我们的技术团队已经收到通知，正在紧急修复此问题。</p>
            <p>请稍后再试，或联系系统管理员。</p>
        </div>
        
        <div style="text-align: center;">
            <a href="/" class="home-link">🏠 返回首页</a>
            <a href="javascript:location.reload()" class="refresh-link">🔄 重新加载</a>
        </div>
        
        <div class="footer">
            Powered by Rust + Rocket 🚀
        </div>
    </div>
</body>
</html>